﻿using System;

namespace Emico.Linq.Criterion
{
    [Serializable]
    public abstract class PropertyExpression<T> : AbstractExpression<T>
        where T : class
    {
        #region Variables

        public string LHSPropertyName
        {
            get;
            private set;
        }

        public string RHSPropertyName
        {
            get;
            private set;
        }

        #endregion

        #region Properties

        protected PropertyExpression(string lhsPropertyName, string rhsPropertyName)
        {
            LHSPropertyName = lhsPropertyName;
            RHSPropertyName = rhsPropertyName;
        }

        #endregion
    }
}
